<?php
namespace QinglongApp\Playday\Src\Model;

use Illuminate\Database\Eloquent\Model;

class PlaydayPlan extends Model
{
   protected $table = 'ql_oa_playday_plan';

    protected $fillable = ['creator','content','start','end','deadline','allow_days','weekly_allow_days'];

    public function PlaydayBlacklist()
    {
        return $this->hasMany(\QinglongApp\Playday\Src\Model\PlaydayBlacklist::class);
    }

    public function PlaydayInterfix()
    {
        return $this->hasMany(\QinglongApp\Playday\Src\Model\PlaydayInterfix::class);
    }

    public static function show() {

    }
}
